package com.talos.ums.api.user.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class UserGetOrCreateDTO implements Serializable {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phone;

    private Long companyId;

    private Long carrierId;

    private Collection<Long> organizations;

    private Collection<Long> warehouseIds;

    private Boolean allWarehouseFlag;

    @ApiModelProperty(value = "来源")
    private String source;

    @ApiModelProperty(value = "账号类型：内部账号-inner，货主账号-company，货主客户账号-company_customer，承运商账号-carrier，司机账号-driver，其他账号-other")
    private List<String> acountTypes;

    @ApiModelProperty(value = "租户id")
    private Long tenantId;

    @ApiModelProperty(value = "租户编码")
    private String tenantCode;

    @ApiModelProperty(value = "租户名称")
    private String tenantName;

}
